import 'package:flutter/material.dart';
import 'package:flutter_animation/widget/background/animated_background.dart';
import 'package:flutter_animation/widget/particle/particle_widget.dart';

class ParticlePage extends StatelessWidget {
  final arguments;

  ParticlePage({this.arguments});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Colors.black,
      body: Stack(children: <Widget>[
        Positioned.fill(child: AnimatedBackground()),
        Positioned.fill(child: ParticlesWidget(30)),
        Positioned.fill(
          child: new Center(
            child: new Text(
              "ParticlePage",
              style: new TextStyle(
                  fontSize: 30,
                  fontWeight: FontWeight.bold,
                  color: Colors.white),
            ),
          ),
        ),
      ]),
    );
  }
}
